Description | Example | Return Message | Group(s)

SCHED: HideGUI

Format

SCHED / HideGUI

Description

The SCHED HideGUI Connect command closes the GUI but leaves the STK Scheduler engine running. The SCHED ShowGUI command can be used to re-display the GUI. HideGUI and SHowGUI were designed to allow you to switch between the GUI and GUI-less mode of STKScheduler. This doesn't just make the GUI visible or not. Hide GUI actually closes the GUI so it is not running at all. Because of this there are several caveats to keep in mind when using these commands.

Caveats

If the HideGUI command is in a command file, and the file is executed via the File -> Ingest Commands.. menu item in the main form, then the application will hang. The command will run successfully from a file if the file is executed via the API command SCHED IngestCommands using TCP/IP Sockets or COM interface.

When Switching from GUI to GUI-less modes, when the main GUI is closed so are all the Schedules. You will need to open a schedule before continuing to edit the schedule file.

When switching from GUI-less to GUI mode, the newly loaded GUI will load the last loaded schedule file. This comes with the side effect of reloading the STK Scenario if one is attached to that schedule file.

Examples

Closes the GUI
SCHED / HideGUI

SyntaxExample
<CommandName>SCHED / HideGUI

Return Message

If activated, Connect returns an acknowledgment message.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

8.2